package com.etennis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.etennis.pojos.dto.web.MatchDetailQueryDTO;
import com.etennis.pojos.entity.Record;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.List;

public interface RecordMapper extends BaseMapper<Record> {

    /**
     *
     * @param playerId
     * @param matchDetailQueryDTO eventId, gameTime, flag, groupId
     * @return
     */
    List<Record> matchDetail(@Param("playerId") Long playerId,@Param("dto") MatchDetailQueryDTO matchDetailQueryDTO);
}
